package com.mulanweb.handler.wechat;

import java.util.TimerTask;

/**
 * Created by Administrator on 2016/8/30.
 */
public class JsApiTicketTimerHandler extends TimerTask  {

    @Override
    public void run(){
        String jsApiTicket =JsApiTicketHandler.refreshJsApiTicket();
        if (jsApiTicket !=null) {
            System.out.println("刷新jsApiTicket成功,jsApiTicket："+jsApiTicket);
        }else{
            System.out.println("-------------------------获取jsApiTicket出错");
        }
    }
}
